package com.xm.share.service;

import com.xm.share.model.Pictureshare;
import com.xm.share.model.vo.NoticeData;
import com.xm.share.model.vo.PictureShareDetailDto;
import com.xm.share.model.vo.PictureShareRequest;

import java.util.List;

public interface PictureShareService {

	List<PictureShareDetailDto> getDetailList(int pageNo, int pageSize);

	Pictureshare findById(Long id);

	void deletePictureShare(Long id);

	List<PictureShareDetailDto> findPictureShare(String condition, String order);

	void addPictureShare(PictureShareRequest pictureShareRequest);

	void makeTop(Long id, Long userId);

	PictureShareDetailDto getDetail(Long pictureShareId);

	List<PictureShareDetailDto> getDetailList(long userId);

	/**
	 * 
	 * @Name: queryTopMsg
	 * @Description:查询被置顶的分享
	 * @Version: V1.00
	 * @Date: 2016年6月1日下午1:58:09
	   @return List<NoticeData>
	 */
	List<NoticeData> queryTopMsg();

	NoticeData queryTopMsgByuserId(String userId);

	void setRead(long id);

	void deleteTop(Long id, Long userId);
}
